// 获取验证码
export const getCaptcha = function(data) {
    return $.http('/apis/blade-auth/oauth/captcha', data, 'get');
};
// 发送短信验证码
export const getMessageCode = function(data) {
    return $.http('/apis/blade-auth/register/sendPhoneCode', data, 'get');
};
// 执行注册
export const doRegister = function(data) {
    return $.http('/apis/blade-auth/register/doregister', data, 'get');
};
// 执行登录
export const doLogin = function(data) {
    return $.http('/apis/blade-auth/register/login', data, 'post');
};
// 执行验证码登录
export const doLoginByCode = function(data) {
    return $.http('/apis/blade-auth/register/loginByMobilecode', data, 'get');
};
// 执行更改密码
export const doUpdatePwd = function(data) {
    return $.http('/apis/blade-auth/register/updatePassword', data, 'post');
};
// 执行更改手机号或者邮箱
export const doUpdatePhoneOrMail = function(data) {
    return $.http('/apis/membership-grinok/membership/updateMembershipInfor', data, 'post');
};
// 获取合作伙伴信息
export const getPartnerInfor = function(data) {
    return $.http('/apis/partnerInformation-grinok/partnerinformation/getPartnerInfor', data, 'post');
};